\hypertarget{classdev_1_1net_1_1_tcp_connection_factory}{}\section{dev\+:\+:net\+:\+:Tcp\+Connection\+Factory Class Reference}
\label{classdev_1_1net_1_1_tcp_connection_factory}\index{dev\+::net\+::\+Tcp\+Connection\+Factory@{dev\+::net\+::\+Tcp\+Connection\+Factory}}


连接工厂  




{\ttfamily \#include $<$Tcp\+Connection\+Factory.\+hpp$>$}

Inheritance diagram for dev\+:\+:net\+:\+:Tcp\+Connection\+Factory\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classdev_1_1net_1_1_tcp_connection_factory}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual Tcp\+Connection\+Ptr \hyperlink{classdev_1_1net_1_1_tcp_connection_factory_a2eed87e0bc6447911795b7d882f1d09e}{create\+Connection} (sock\+\_\+t sock, size\+\_\+t is\+Buf\+Size, size\+\_\+t os\+Buf\+Size)=0
\begin{DoxyCompactList}\small\item\em 创建一个\+Tcp连接 \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
连接工厂 

\subsection{Member Function Documentation}
\hypertarget{classdev_1_1net_1_1_tcp_connection_factory_a2eed87e0bc6447911795b7d882f1d09e}{}\index{dev\+::net\+::\+Tcp\+Connection\+Factory@{dev\+::net\+::\+Tcp\+Connection\+Factory}!create\+Connection@{create\+Connection}}
\index{create\+Connection@{create\+Connection}!dev\+::net\+::\+Tcp\+Connection\+Factory@{dev\+::net\+::\+Tcp\+Connection\+Factory}}
\subsubsection[{create\+Connection(sock\+\_\+t sock, size\+\_\+t is\+Buf\+Size, size\+\_\+t os\+Buf\+Size)=0}]{\setlength{\rightskip}{0pt plus 5cm}virtual Tcp\+Connection\+Ptr dev\+::net\+::\+Tcp\+Connection\+Factory\+::create\+Connection (
\begin{DoxyParamCaption}
\item[{sock\+\_\+t}]{sock, }
\item[{size\+\_\+t}]{is\+Buf\+Size, }
\item[{size\+\_\+t}]{os\+Buf\+Size}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classdev_1_1net_1_1_tcp_connection_factory_a2eed87e0bc6447911795b7d882f1d09e}


创建一个\+Tcp连接 


\begin{DoxyParams}{Parameters}
{\em sock} & 本地套接字 \\
\hline
{\em is\+Buf\+Size} & 连接输入流缓存大小 \\
\hline
{\em os\+Buf\+Size} & 连接输出流缓存大小 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Tcp\+Connection\+Ptr 
\end{DoxyReturn}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
dev/dev/net/Tcp\+Connection\+Factory.\+hpp\end{DoxyCompactItemize}
